package com.requestfactory.wire.hello;

public final class HelloServiceImpl implements HelloService {

	@Override
	public String hello(String name) throws HelloServiceException {
		if(name == null || name.isEmpty()) {
			throw new HelloServiceException(
					"input argument name cannot be null or empty string");
		}
		return "Hello " + name + "!";
	}

}
